<div class="row">
    <div class="col-md-12">       

        <div class="block">
            <div class="block-title">
                <h2><strong>Listado de Parametros </strong> </h2>
            </div>

            <div class="table-responsive">
                <table id="parametros" class="table table-vcenter table-condensed table-bordered">
                    <thead>
                        <tr>
                            <th class="text-center">Nro</th>
                            <th>Cuota</th>
                            <th class="text-center">Monto</th>
                            <th>Moneda</th>
                            <th>Tipo</th>
                            <th>Accion</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $i=1;?>
                        <?php foreach ($parametros as $param): ?>
                        <?php 
                        if($param['Parametro']['estado'] == 1)
                        {
                            $activo = 'success';
                        }
                        else{
                            $activo = 'danger';
                        }
                        ?>
                        <tr  class="<?php echo $activo;?>">
                            <td class="text-center"><?php echo $i;$i++;?></td>
                            <td ><?php echo $param['Parametro']['nombre'];?></td>
                            <td><?php echo $param['Parametro']['cuota'];?></td>
                            <td><?php echo $param['Parametro']['moneda'];?></td>
                            <td><?php echo $param['Parametro']['tipo'];?></td>
                            <td class="text-center">
                                <div class="btn-group">
                                <div class="btn-group">
                                    <a href="<?php echo $this->Html->url(array('controller'=>'Parametros','action' => 'parametro', $param['Parametro']['id']));?>"data-toggle="tooltip" title="Editar Parametro" class="btn btn-xs btn-primary"><i class="fa fa-pencil"></i></a>                                  
                                    <?php echo $this->Html->link('<i class="fa fa-times"></i>',array('action' => 'delete',$param['Parametro']['id']),array('escape' => false,'confirm' => 'Esta seguro de eliminar','class' => 'btn btn-xs btn-danger','title'=>'Eliminar'))?>                             
                                </div>
                                </div>
                            </td>
                        </tr>
                        <?php endforeach;?>
                        
                    </tbody>
                </table>
            </div>

        </div>
    </div>   
    
</div>
<img src="">
<script>
    $(function() {
        TablesDatatables.init();
    });
      $(document).ready(function(){
        $('#parametros').dataTable();
    }
    );
</script>